﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edituser.aspx.cs" Inherits="Edituser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>管理系统===修改用户页面</title>
    <link rel="Stylesheet" type="text/css" href="ASPNET2.0BaseCss.css" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="GbText" style="BORDER-COLLAPSE: collapse; border-right: #ccccff thin solid; border-top: #ccccff thin solid; border-left: #ccccff thin solid; border-bottom: #ccccff thin solid;" borderColor="#93bee2" cellSpacing="0"
		cellPadding="2" width="100%" border="1">
		<tr>
			<td colspan="2"><font class="HeaderText">修改用户</font></td>
		</tr>
		<tr>
			<td colspan="2"><hr style="font-size: 1pt;" /></td>
		</tr>
		<tr style="line-height:2;">
			<td style="width:150" align="right">用户名称:</td>
			<td><asp:textbox id="LoginName" runat="server" Width="150px" CssClass="InputCss" Enabled="false"></asp:textbox><asp:HiddenField ID="HiddenID" runat="server" />		</td>
		</tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">旧密码:</td>
		  <td><asp:textbox id="OldPassword" runat="server" Width="150px" CssClass="InputCss" TextMode="Password"></asp:textbox>              </td>
	  </tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">新密码:</td>
		  <td><asp:textbox id="NewPassword" runat="server" Width="150px" CssClass="InputCss" TextMode="Password"></asp:textbox>
              <asp:CompareValidator ID="CompareValidator2" runat="server" CssClass="GbText" ErrorMessage="两次输入的密码不相同！" ControlToCompare="PasswordStr" ControlToValidate="NewPassword"></asp:CompareValidator></td>
	  </tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">确认密码:</td>
		  <td><asp:textbox id="PasswordStr" runat="server" Width="150px" CssClass="InputCss" TextMode="Password"></asp:textbox>
              <asp:CompareValidator ID="CompareValidator1" runat="server" CssClass="GbText" ErrorMessage="两次输入的密码不相同！" ControlToCompare="NewPassword" ControlToValidate="PasswordStr"></asp:CompareValidator></td>
	  </tr>
<%--		<tr style="line-height:2;">
          <td style="width:150" align="right">是否管理员:</td>
		  <td align="left"><font face="宋体"><span class="Tabel_RowBG">
		    <asp:DropDownList ID="isadmin" runat="server" Enabled="false">
              <asp:ListItem Text="是" Value="1"></asp:ListItem>
              <asp:ListItem Text="否" Value="0"></asp:ListItem>
            </asp:DropDownList>
		  </span></font></td>
	  </tr>--%>
		<tr style="line-height:2;">
			<td style="width:150" width="150" align="right"></TD>
			<TD align="left"><FONT face="宋体">&nbsp;</FONT><asp:Button ID="UpdateBtn" runat="server" Text="修改" Width="100px" CssClass="ButtonCss" OnClick="UpdateBtn_Click" /><FONT face="宋体">&nbsp;</FONT><asp:Button ID="ReturnBtn" runat="server" Text="返回" Width="100px" CssClass="ButtonCss" OnClick="ReturnBtn_Click" CausesValidation="False" /> 
			（如不需修改密码，则旧密码、新密码、确认密码均不用填写） </td>
		</tr>
		<tr>
			<td></td>
		</tr>
    </table>
</form>
</body>
</html>
